<template>
  <div>
    <button @click="send('window-close')">关闭</button>
    <button @click="send('window-max')">最大</button>
    <button @click="send('window-min')">最小</button>
  </div>
</template>

<script>
const { ipcRenderer } = require("electron");
export default {
  name: "",

  data() {
    return {};
  },

  methods: {
    send(value) {
      ipcRenderer.send(value);
    }
  }
};
</script>

<style lang="less" scoped>
</style>
                